﻿using GroupMeal.Groups;
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Members
{
    public class Member : FullAuditedEntity<Guid>, IMultiTenant
    {
        public virtual Guid? TenantId
        {
            get;set;
        }

        /// <summary>
        /// 微信OpenId
        /// </summary>
        public virtual string WX_OpenId
        {
            get;set;
        }

        /// <summary>
        /// 微信 UnionId
        /// </summary>
        public virtual string? WX_UnionId
        {
            get;set;
        }

        /// <summary>
        /// 抖音OpenId
        /// </summary>
        public virtual string DY_OpenId
        {
            get;set;
        }

        /// <summary>
        /// 抖音UnionId
        /// </summary>
        public virtual string? DY_UnionId
        {
            get;set;
        }

        /// <summary>
        /// 组织集合
        /// </summary>
        public virtual List<Group>? Groups
        {
            get;set;
        }

        /// <summary>
        /// 作为管理员的组织集合
        /// </summary>
        public virtual List<Group>? AdminGroups
        {
            get;set;
        }

        /// <summary>
        /// 会员作为签收人的组织集合
        /// </summary>
        public virtual List<Group>? RecipientGroups
        {
            get;set;
        }

        /// <summary>
        /// 姓名
        /// </summary>
        public virtual string? Name
        {
            get;set;
        }

        /// <summary>
        /// 手机号
        /// </summary>
        public virtual string PhoneNumber
        {
            get;set;
        }

        /// <summary>
        /// 微信头像url
        /// </summary>
        public virtual string? WX_HeaderUrl
        {
            get;set;
        }

        /// <summary>
        /// 微信昵称
        /// </summary>
        public virtual string? WX_NickName
        {
            get;set;
        }

        /// <summary>
        /// 抖音头像Url
        /// </summary>
        public virtual string? DY_HeaderUrl
        {
            get;set;
        }

        /// <summary>
        /// 抖音昵称
        /// </summary>
        public virtual string? DY_NickName
        {
            get;set;
        }

    }
}
